Optimal. Leaf size=83 \[ -\frac {\sqrt {3+5 x^2+x^4}}{6 x^4}-\frac {\sqrt {3+5 x^2+x^4}}{12 x^2}+\frac {1}{8} \sqrt {3} \tanh ^{-1}\left (\frac {6+5 x^2}{2 \sqrt {3} \sqrt {3+5 x^2+x^4}}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.04, antiderivative size = 83, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 5, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {1265, 848, 820,
738, 212} \begin {gather*} -\frac {\sqrt {x^4+5 x^2+3}}{12 x^2}-\frac {\sqrt {x^4+5 x^2+3}}{6 x^4}+\frac {1}{8} \sqrt {3} \tanh ^{-1}\left (\frac {5 x^2+6}{2 \sqrt {3} \sqrt {x^4+5 x^2+3}}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 212
Rule 738
Rule 820
Rule 848
Rule 1265
Rubi steps
\begin {align*} \int \frac {2+3 x^2}{x^5 \sqrt {3+5 x^2+x^4}} \, dx &=\frac {1}{2} \text {Subst}\left (\int \frac {2+3 x}{x^3 \sqrt {3+5 x+x^2}} \, dx,x,x^2\right )\\ &=-\frac {\sqrt {3+5 x^2+x^4}}{6 x^4}-\frac {1}{12} \text {Subst}\left (\int \frac {-3+2 x}{x^2 \sqrt {3+5 x+x^2}} \, dx,x,x^2\right )\\ &=-\frac {\sqrt {3+5 x^2+x^4}}{6 x^4}-\frac {\sqrt {3+5 x^2+x^4}}{12 x^2}-\frac {3}{8} \text {Subst}\left (\int \frac {1}{x \sqrt {3+5 x+x^2}} \, dx,x,x^2\right )\\ &=-\frac {\sqrt {3+5 x^2+x^4}}{6 x^4}-\frac {\sqrt {3+5 x^2+x^4}}{12 x^2}+\frac {3}{4} \text {Subst}\left (\int \frac {1}{12-x^2} \, dx,x,\frac {6+5 x^2}{\sqrt {3+5 x^2+x^4}}\right )\\ &=-\frac {\sqrt {3+5 x^2+x^4}}{6 x^4}-\frac {\sqrt {3+5 x^2+x^4}}{12 x^2}+\frac {1}{8} \sqrt {3} \tanh ^{-1}\left (\frac {6+5 x^2}{2 \sqrt {3} \sqrt {3+5 x^2+x^4}}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.16, size = 63, normalized size = 0.76 \begin {gather*} -\frac {\left (2+x^2\right ) \sqrt {3+5 x^2+x^4}}{12 x^4}-\frac {1}{4} \sqrt {3} \tanh ^{-1}\left (\frac {x^2-\sqrt {3+5 x^2+x^4}}{\sqrt {3}}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.21, size = 66, normalized size = 0.80
method | result | size |
risch | \(-\frac {x^{6}+7 x^{4}+13 x^{2}+6}{12 x^{4} \sqrt {x^{4}+5 x^{2}+3}}+\frac {\arctanh \left (\frac {\left (5 x^{2}+6\right ) \sqrt {3}}{6 \sqrt {x^{4}+5 x^{2}+3}}\right ) \sqrt {3}}{8}\) | \(64\) |
default | \(\frac {\arctanh \left (\frac {\left (5 x^{2}+6\right ) \sqrt {3}}{6 \sqrt {x^{4}+5 x^{2}+3}}\right ) \sqrt {3}}{8}-\frac {\sqrt {x^{4}+5 x^{2}+3}}{6 x^{4}}-\frac {\sqrt {x^{4}+5 x^{2}+3}}{12 x^{2}}\) | \(66\) |
elliptic | \(\frac {\arctanh \left (\frac {\left (5 x^{2}+6\right ) \sqrt {3}}{6 \sqrt {x^{4}+5 x^{2}+3}}\right ) \sqrt {3}}{8}-\frac {\sqrt {x^{4}+5 x^{2}+3}}{6 x^{4}}-\frac {\sqrt {x^{4}+5 x^{2}+3}}{12 x^{2}}\) | \(66\) |
trager | \(-\frac {\left (x^{2}+2\right ) \sqrt {x^{4}+5 x^{2}+3}}{12 x^{4}}-\frac {\RootOf \left (\textit {\_Z}^{2}-3\right ) \ln \left (-\frac {-5 \RootOf \left (\textit {\_Z}^{2}-3\right ) x^{2}+6 \sqrt {x^{4}+5 x^{2}+3}-6 \RootOf \left (\textit {\_Z}^{2}-3\right )}{x^{2}}\right )}{8}\) | \(72\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.49, size = 68, normalized size = 0.82 \begin {gather*} \frac {1}{8} \, \sqrt {3} \log \left (\frac {2 \, \sqrt {3} \sqrt {x^{4} + 5 \, x^{2} + 3}}{x^{2}} + \frac {6}{x^{2}} + 5\right ) - \frac {\sqrt {x^{4} + 5 \, x^{2} + 3}}{12 \, x^{2}} - \frac {\sqrt {x^{4} + 5 \, x^{2} + 3}}{6 \, x^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.35, size = 83, normalized size = 1.00 \begin {gather*} \frac {3 \, \sqrt {3} x^{4} \log \left (\frac {25 \, x^{2} + 2 \, \sqrt {3} {\left (5 \, x^{2} + 6\right )} + 2 \, \sqrt {x^{4} + 5 \, x^{2} + 3} {\left (5 \, \sqrt {3} + 6\right )} + 30}{x^{2}}\right ) - 2 \, x^{4} - 2 \, \sqrt {x^{4} + 5 \, x^{2} + 3} {\left (x^{2} + 2\right )}}{24 \, x^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {3 x^{2} + 2}{x^{5} \sqrt {x^{4} + 5 x^{2} + 3}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 145 vs.
\(2 (65) = 130\).
time = 3.72, size = 145, normalized size = 1.75 \begin {gather*} -\frac {1}{8} \, \sqrt {3} \log \left (\frac {x^{2} + \sqrt {3} - \sqrt {x^{4} + 5 \, x^{2} + 3}}{x^{2} - \sqrt {3} - \sqrt {x^{4} + 5 \, x^{2} + 3}}\right ) + \frac {9 \, {\left (x^{2} - \sqrt {x^{4} + 5 \, x^{2} + 3}\right )}^{3} + 36 \, {\left (x^{2} - \sqrt {x^{4} + 5 \, x^{2} + 3}\right )}^{2} + 47 \, x^{2} - 47 \, \sqrt {x^{4} + 5 \, x^{2} + 3} + 12}{12 \, {\left ({\left (x^{2} - \sqrt {x^{4} + 5 \, x^{2} + 3}\right )}^{2} - 3\right )}^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {3\,x^2+2}{x^5\,\sqrt {x^4+5\,x^2+3}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________